// Background
//$ifequal($getpvar(backgroundd),1,
//	$imageabs(0,0,/heyecan\$getpvar(background),resize,$sub(%_width%,800),$sub(%_height%,0),NOKEEPASPECT,alpha,$getpvar(alpha.bgr))
//,

//	$rectabs(0,0,%_width%,%_height%,$c(0,0,0),null))


// PerTrack
$alignabs(39,18,%_width%,%_height%,left,top)
$font(Calibri,12,$ifequal($getpvar(shadow),1,shadow,),220-220-220)Background mode

$ifequal($getpvar(backgroundd),1,
,
)

///////////////////Background//////////////////////////
$ifequal($getpvar(backgroundd),1,
$alignabs(,84,%_width%,%_height%,center,top)
	$drawrect(67,70,242,125,pencolor-$select($getpvar(blue),0-105-255,250-0-0,21-200-72) brushcolor-0-0-0 width-0)
	$if($fileexists(/heyecan\walls\$sub($getpvar(walls),1).jpg),
		

$button(145,245,0,0,0,0,/heyecan\setting\left_bt.png,heyecan\setting\left_bt_outglow.png,PVAR:SET:walls:$sub($getpvar(walls),1),TOOLTIP:

)
	,
		$imageabs2(,,,,,,145,245,/heyecan\setting\left_bt.png,alpha-120)
	)
	$if($fileexists(/heyecan\walls\$add($getpvar(walls),1).jpg),
		

$button(200,245,0,0,0,0,/heyecan\setting\right_bt.png,heyecan\setting\right_bt_outglow.png,PVAR:SET:walls:$add($getpvar(walls),1),TOOLTIP:)
	,
		$imageabs2(,,,,,,245,200,/heyecan\setting\right_bt.png,alpha-120)
	)

$button2(71,70,,,235,125,
'$imageabs2(235,127,,,,,,,/heyecan\walls\$getpvar(walls).jpg,NOKEEPASPECT alpha-180)',
'$imageabs2(235,127,,,,,,,/heyecan\walls\$getpvar(walls).jpg,NOKEEPASPECT alpha-250)',
PVAR:SET:background:walls\$getpvar(walls).jpg,TOOLTIP:)

$button2(71,70,,,235,125,
,,
SORTGROUP_PRESET:$getpvar(sortorder),TOOLTIP:)
,)
$imageabs2(280,362,,,,,47,-28,/heyecan\tv.png,alpha180)
//////////////////////////Background ON/OFF///////////////////////
$ifequal($getpvar(backgroundd),1,
$button2(19,20,0,0,15,15,
'$imageabs2(,,,,0,,0,0,/heyecan\setting\sel1_.png,alpha-200)',
'$imageabs2(,,,,0,,0,0,/heyecan\setting\sel1_.png,)',
'PVAR:SET:backgroundd:0',TOOLTIP:)
,
$button2(19,20,0,0,15,15,
'$imageabs2(,,,,0,,0,0,/heyecan\setting\sel0_.png,alpha-200)',
'$imageabs2(,,,,0,,0,0,/heyecan\setting\sel0_.png,)',
'PVAR:SET:backgroundd:1',TOOLTIP:)
)


